package com.iscreen.dbupgrade.queries.mysql;

import com.iscreen.dbupgrade.objects.CreateTable;
import com.iscreen.dbupgrade.objects.InsertRows;
import com.iscreen.dbupgrade.queries.CreateTableQuery;
import com.iscreen.dbupgrade.queries.InsertValuesQuery;
import com.iscreen.dbupgrade.queries.QueryFactory;
import com.iscreen.dbupgrade.queries.ShowTableQuery;

public class MySqlQueryFactory extends QueryFactory
{

	@Override
	public CreateTableQuery createCreateTableQuery(CreateTable query)
	{
		return new MySqlCreateTable(query);
	}

	@Override
	public ShowTableQuery createShowTableQuery(String tableName)
	{
		return new MySqlShowTable(tableName);
	}
	
	@Override
	public InsertValuesQuery createInsertValuesQuery(InsertRows query)
	{
		return new MySqlInsertValues(query);
	}
	
}
